package com.xyh.order.service.impl;

import com.xyh.order.dao.OrderDao;
import com.xyh.order.service.OrderService;
import com.xyh.pojo.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * TODO
 *
 * @author 丁德成
 * @explain
 * @date 2023/5/12
 */
@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderDao orderDao;

    @Override
    public Integer save(Order order) {
        return orderDao.insert(order);
    }
}
